package com.changhongit.service;

import java.util.List;

import com.changhongit.entity.ServiceProvider;
import com.changhongit.returnentity.ReturnServiceProvider;
import com.changhongit.util.PageView;

public interface ServiceProviderService {
	public PageView query(PageView pageView, ServiceProvider serviceProvider);

	public void add(ServiceProvider serviceProvider);

	public void delete(String id);

	public void modify(ServiceProvider serviceProvider);

	public ServiceProvider getById(String id);

	public List<ServiceProvider> findAll();

	public void saveServiceProvider(ServiceProvider serviceProvider);

	public ServiceProvider findOneServiceProvider(String name);

	public ServiceProvider findOneServiceProviderByUserName(String userName);

	public void updateFlags(ServiceProvider serviceProvider);

	public List<ReturnServiceProvider> findAllServiceProviders(ReturnServiceProvider returnServiceProvider);
	
	public void getCallNum();
}
